package com.aios.service;

import java.util.List;

import com.aios.entity.UserGroup;
import com.aios.entity.mapper.UserGroupHasUsers;

public interface UserGroupService extends GenericService<UserGroup, Integer>,
		PaginatedService {

	List<UserGroup> findAllByStatus(Integer status);

	ExistValidationEnum validateUserGroupName(String userGroupName);

	List<UserGroupHasUsers> findUsersForGroups(Integer status);
	
	UserGroupHasUsers findByIdWithUsers(Integer id);
	
	int getCount();

	ExistValidationEnum validateUserGroupName(String groupName, Integer id);
}
